Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: AWTGLCanvas gives error when activating sRGB #81

Closed
wants to merge 4 commits into from

Conversation

JNightRider
Copy link

This PR fixes issue #78, it seems that the extensions do not check for the possibility of the WGL_ARB_framebuffer_sRGB option (ARB extension) and that throws an exception, I would like you to check that.

Copy link
Collaborator

@SWinxy SWinxy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good; see comments.

src/org/lwjgl/opengl/awt/GLData.java Outdated Show resolved Hide resolved
src/org/lwjgl/opengl/awt/PlatformWin32GLCanvas.java Outdated Show resolved Hide resolved
src/org/lwjgl/opengl/awt/PlatformWin32GLCanvas.java Outdated Show resolved Hide resolved
@JNightRider JNightRider requested a review from SWinxy December 16, 2024 21:51
@JNightRider
Copy link
Author

Fixes applied...

@SWinxy
Copy link
Collaborator

SWinxy commented Dec 22, 2024

Misread, my bad. I squashed and merged the commits but I appear to have messed something up and your GitHub isn't being properly credited in the log. Thank you so much for your contributions. I can try again to get the commit to link to your account, if you want, but Git is not my expertise.

@SWinxy
Copy link
Collaborator

SWinxy commented Dec 22, 2024

GitHub doesn't recognize 7043714 as being associated with this PR; closing as 'not merged' but this is merged.

@SWinxy SWinxy closed this Dec 22, 2024
@JNightRider JNightRider deleted the win_srgb branch December 22, 2024 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants